package org.jeecg.modules.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.system.entity.SysLessProduct;
import org.jeecg.modules.system.mapper.SysLessProductMapper;
import org.jeecg.modules.system.service.ISysLessProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Description: 编码校验规则
 * @Author: jeecg-boot
 * @Date: 2020-02-04
 * @Version: V1.0
 */
@Service
public class SysLessProductServiceImpl extends ServiceImpl<SysLessProductMapper, SysLessProduct> implements ISysLessProductService {


    @Autowired
    private SysLessProductMapper lessProductMapper;

    @Override
    public List<SysLessProduct> matchProducts(BigDecimal s) {
        return lessProductMapper.matchProducts(s);
    }
}
